package ynu.edu.service;

import ynu.edu.po.Orders;

import java.util.List;

public interface OrdersService {
    public int createOrders(String userId, Integer businessId, Integer daId, Double orderTotal);
    public Orders getOrdersById(Integer orderId);
    public List<Orders> listOrdersByUserId(String userId);

    public int updateOrdersState(Integer orderId, Integer orderState);
}
